public abstract class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        System.out.println(new Cat().name);
    }
}
 class  Cat extends Animal {
     public Cat() {
         super("zhangsan");

     }
 }
